package com.team.est.client;

import com.team.est.dto.ClassifyDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author 樊浩
 * @version 1.0
 * @description: TODO
 * @date 2021/3/6 13:12
 */
@FeignClient(value = "EST-PROVIDER")  //服务的名称
public interface ClassifyService {
 //一个方法对应一个服务
 @RequestMapping("/classify/getClassifyTress")
 public List<ClassifyDto> getClassifyTree();
}
